package com.dehui.traders.ui.predict;

import android.os.Bundle;

import com.dehui.traders.R;
import com.dehui.traders.BR;
import com.dehui.traders.databinding.FragmentPredictBinding;
import com.dehui.traders.ui.base.AppActvity;

public class PredictActivity extends AppActvity<FragmentPredictBinding,PredictViewModel> {

    @Override
    public int initContentView() {
        return R.layout.fragment_predict;
    }

    @Override
    public int initVariableId() {
        return BR.viewModel;
    }

    @Override
    public PredictViewModel initViewModel() {
        return new PredictViewModel(this);
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        String name = getIntent().getStringExtra("name");
        initToolbar(name);
    }
}
